home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / local / linuxconsole / share / alsa / cards / Audigy.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  3.1 KB  |  225 lines

  1. #
  2. # Configuration for the Audigy chip
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. Audigy.pcm.front.0 {
  8.     @args [ CARD  ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17. <confdir:pcm/rear.conf>
  18.  
  19. Audigy.pcm.rear.0 {
  20.     @args [ CARD ]
  21.     @args.CARD {
  22.         type string
  23.     }
  24.     type hooks
  25.     slave.pcm {
  26.         type hw
  27.         card $CARD
  28.         device 0
  29.     }
  30.     hooks.0 {
  31.         type ctl_elems
  32.         hook_args [
  33.             {
  34.                 name "Wave Surround Playback Volume"
  35.                 preserve true
  36.                 lock true
  37.                 value [ 0 0 ]
  38.             }
  39.             {
  40.                 name "EMU10K1 PCM Send Volume"
  41.                 index { @func private_pcm_subdevice }
  42.                 lock true
  43.                 value [ 0 0 0 0 0 0 0 0  0 0 255 0 0 0 0 0  0 0 0 255 0 0 0 0 ]
  44.             }
  45.         ]
  46.     }
  47. }    
  48.  
  49. <confdir:pcm/center_lfe.conf>
  50.  
  51. Audigy.pcm.center_lfe.0 {
  52.     @args [ CARD ]
  53.     @args.CARD {
  54.         type string
  55.     }
  56.     type hooks
  57.     slave.pcm {
  58.         type hw
  59.         card $CARD
  60.         device 0
  61.     }
  62.     hooks.0 {
  63.         type ctl_elems
  64.         hook_args [
  65.             {
  66.                 name "Wave Center Playback Volume"
  67.                 preserve true
  68.                 lock true
  69.                 value 0
  70.             }
  71.             {
  72.                 name "Wave LFE Playback Volume"
  73.                 preserve true
  74.                 lock true
  75.                 value 0
  76.             }
  77.             {
  78.                 name "EMU10K1 PCM Send Volume"
  79.                 index { @func private_pcm_subdevice }
  80.                 lock true
  81.                 value [ 0 0 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
  82.             }
  83.             {
  84.                 name "EMU10K1 PCM Send Routing"
  85.                 index { @func private_pcm_subdevice }
  86.                 lock true
  87.                 value [ 0 1 2 3 0 0 0 0  6 7 0 1 0 0 0 0  6 7 0 1 0 0 0 0 ]
  88.             }
  89.         ]
  90.     }
  91. }    
  92.  
  93. <confdir:pcm/surround40.conf>
  94.  
  95. Audigy.pcm.surround40.0 {
  96.     @args [ CARD ]
  97.     @args.CARD {
  98.         type string
  99.     }
  100.     type multi
  101.     slaves [
  102.         {
  103.             pcm {
  104.                 @func concat
  105.                 strings [
  106.                     "cards.Audigy.pcm.front.0:CARD=" $CARD
  107.                 ]
  108.             }
  109.             channels 2
  110.         }
  111.         {
  112.             pcm {
  113.                 @func concat
  114.                 strings [
  115.                     "cards.Audigy.pcm.rear.0:CARD=" $CARD
  116.                 ]
  117.             }
  118.             channels 2
  119.         }
  120.     ]
  121.     bindings [
  122.         { slave 0 channel 0 }
  123.         { slave 0 channel 1 }
  124.         { slave 1 channel 0 }
  125.         { slave 1 channel 1 }
  126.     ]
  127. }
  128.  
  129. <confdir:pcm/surround51.conf>
  130.  
  131. Audigy.pcm.surround51.0 {
  132.     @args [ CARD ]
  133.     @args.CARD {
  134.         type string
  135.     }
  136.     type multi
  137.     slaves [
  138.         {
  139.             pcm {
  140.                 @func concat
  141.                 strings [
  142.                     "cards.Audigy.pcm.front.0:CARD=" $CARD
  143.                 ]
  144.             }
  145.             channels 2
  146.         }
  147.         {
  148.             pcm {
  149.                 @func concat
  150.                 strings [
  151.                     "cards.Audigy.pcm.rear.0:CARD=" $CARD
  152.                 ]
  153.             }
  154.             channels 2
  155.         }
  156.         {
  157.             pcm {
  158.                 @func concat
  159.                 strings [
  160.                     "cards.Audigy.pcm.center_lfe.0:CARD=" $CARD
  161.                 ]
  162.             }
  163.             channels 2
  164.         }
  165.     ]
  166.     bindings [
  167.         { slave 0 channel 0 }
  168.         { slave 0 channel 1 }
  169.         { slave 1 channel 0 }
  170.         { slave 1 channel 1 }
  171.         { slave 2 channel 0 }
  172.         { slave 2 channel 1 }
  173.     ]
  174. }
  175.  
  176. <confdir:pcm/iec958.conf>
  177.  
  178. Audigy.pcm.iec958.0 {
  179.     @args [ CARD AES0 AES1 AES2 AES3 ]
  180.     @args.CARD {
  181.         type string
  182.     }
  183.     @args.AES0 {
  184.         type integer
  185.     }
  186.     @args.AES1 {
  187.         type integer
  188.     }
  189.     @args.AES2 {
  190.         type integer
  191.     }
  192.     @args.AES3 {
  193.         type integer
  194.     }
  195.     type hooks
  196.     slave.pcm {
  197.         type hw
  198.         card $CARD
  199.         device 3
  200.     }
  201.     hooks.0 {
  202.         type ctl_elems
  203.         hook_args [
  204.             {
  205.                 name "IEC958 Playback Default"
  206.                 lock true
  207.                 preserve true
  208.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  209.             }
  210.             {
  211.                 name "IEC958 Optical Raw Playback Switch"
  212.                 lock true
  213.                 preserve true
  214.                 value [ 1 1 ]
  215.             }
  216.             {
  217.                 name "SB Live Analog/Digital Output Jack"
  218.                 lock true
  219.                 preserve true
  220.                 value 1
  221.             }
  222.         ]
  223.     }
  224. }
  225.